package com.xxxx.server;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;

public class test {
    public static void main(String[] args) {
        PasswordEncoder ps=new BCryptPasswordEncoder();
        String admin = ps.encode("admin");
        System.out.println(admin);
    }
}
